package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName banner
 */
@TableName(value = "banner")
@Data
public class Banner implements Serializable {
    /**
     * Banner ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 图片链接地址
     */
    private String imgUrl;

    /**
     * 转向目标地址
     */
    private String toUrl;

    /**
     * 城市id
     */
    private String cityId;

    /**
     * 图片描述
     */
    private String description;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}